﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

@model List<KMSFanHome2.Models.user>
<h2>Index</h2>


<ul>
    @foreach (var i in Model)
    { 
    <li>用户名：@Html.ActionLink(i.username, "Index", new { id=i.id}) &nbsp;&nbsp;&nbsp;
        @Html.ActionLink("删除", "DeleteUser", "Vote", new { id=i.id},null);&nbsp;&nbsp;&nbsp;
        @Html.ActionLink("编辑", "Edit", "Vote", new { id=i.id},null);

    </li>
    }
</ul>

